package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.CreditTransfer;
import cn.wolfcode.p2p.business.query.CreditTransferQuery;
import cn.wolfcode.p2p.util.PageResult;

public interface ICreditTransferService {
        PageResult queryCanCreditTransfer(CreditTransferQuery qo);

        void creditTransfer(Long[] bidIds);

        PageResult queryMyTransfer(CreditTransferQuery qo);

        void subscribe(Long id);

        void update(CreditTransfer creditTransfer);

        CreditTransfer getByBidIdAndFromLoginInfoIdAndState(Long bidId, Long toLoginInfoId, int bidrequestState);
}
